package test;

import com.qf.dao.UserDao;
import com.qf.dao.daoImpl.ProfileDaoImpl;
import com.qf.dao.daoImpl.UserDaoImpl;
import com.qf.pojo.User;
import com.qf.service.serviceImpl.ProfileServiceImpl;

public class test {
    public static void main(String[] args) {
//        new UserDaoImpl().addUser(new User("常肖飞","123","1"));

       // System.out.println(new UserDaoImpl().FindUserByName("常肖飞"));

//        System.out.println(new ProfileDaoImpl().findOneById(1));
//        System.out.println(new ProfileServiceImpl().FindAll());
        System.out.println(new ProfileServiceImpl().findProfileById(1));
    }
}
